package com.ruoyi.project.channel.channelAccountAmount.mapper;

import com.ruoyi.project.channel.channelAccountAmount.domain.ChannelAccountAmount;
import java.util.List;	

/**
 * 个码预充值 数据层
 * 
 * @author CAIN
 * @date 2019-09-06
 */
public interface ChannelAccountAmountMapper 
{
	/**
     * 查询个码预充值信息
     * 
     * @param accountCashId 个码预充值ID
     * @return 个码预充值信息
     */
	public ChannelAccountAmount selectChannelAccountAmountById(Long accountCashId);
	/**
	 * 查询个码预充值信息
	 *
	 * @param account 账号
	 * @return 个码预充值信息
	 */
	public ChannelAccountAmount selectAccountAmountSum(String account);
	/**
     * 查询个码预充值列表
     * 
     * @param channelAccountAmount 个码预充值信息
     * @return 个码预充值集合
     */
	public List<ChannelAccountAmount> selectChannelAccountAmountList(ChannelAccountAmount channelAccountAmount);
	
	/**
     * 新增个码预充值
     * 
     * @param channelAccountAmount 个码预充值信息
     * @return 结果
     */
	public int insertChannelAccountAmount(ChannelAccountAmount channelAccountAmount);
	
	/**
     * 修改个码预充值
     * 
     * @param channelAccountAmount 个码预充值信息
     * @return 结果
     */
	public int updateChannelAccountAmount(ChannelAccountAmount channelAccountAmount);
	
	/**
     * 删除个码预充值
     * 
     * @param accountCashId 个码预充值ID
     * @return 结果
     */
	public int deleteChannelAccountAmountById(Long accountCashId);
	
	/**
     * 批量删除个码预充值
     * 
     * @param accountCashIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteChannelAccountAmountByIds(String[] accountCashIds);
	
}